import request from '@/utils/httpRequest'

// 获取首页背景图列表
export function getBannerList(value) {
  return request({
    url: '/bsnl-product/home-back/query',
    method: 'post',
    data: value || {}
  })
}

// 修改首页背景图列表
export function updateBannerList(value) {
  return request({
    url: '/bsnl-product/home-back/save',
    method: 'post',
    data: value || {}
  })
}

// 38元皇冠弹窗列表
export function getWindowAdList(val) {
  return request({
    url: '/bsnl-product/fixedAdvert/list',
    method: 'post',
    data: val || {}
  })
}

// 保存38元皇冠弹窗
export function saveWindowDetail(val) {
  return request({
    url: '/bsnl-product/fixedAdvert/update',
    method: 'post',
    data: val || {}
  })
}
